import Vue from 'vue'
import Router from 'vue-router'
import home from '@/components/index'
import Expert from '@/components/experts/experts'
import Patients from '@/components/patient/patients'
import AssistOrderIng from '@/components/assistOrderIng/assisOrderIng'
import AssistOrders from '@/components/assistOrders/assistOrders'
import Employees from '@/components/employees/employees'
import Account from '@/components/accout/accout'
Vue.use(Router);
export default new Router({
    routes: [{
            path: '/',
            name: 'ondex',
            component: home
        },
        {
            path: '/Expert',
            name: "Expert",
            component: Expert
        },
        {
            path: '/index',
            component: home,
            name: 'index'
        },
        {
            path: '/Patients',
            component: Patients,
            name: 'Patients'
        },
        {
            path: '/AssistOrderIng',
            component: AssistOrderIng,
            name: 'AssistOrderIng'
        },
        {
            path: '/AssistOrders',
            component: AssistOrders,
            name: 'AssistOrders'
        },
        {
            path: '/Employees',
            component: Employees,
            name: 'Employees'
        },
        {
            path: '/Account',
            component: Account,
            name: 'Account'
        }
    ]
})
